include "../model/TStatistic.thrift"
include "../model/TQuery.thrift"
namespace java com.iqiyi.pps.epg.api.server.web.statistic

 service StatisticWebService {
    i64 saveProduceData(1:TStatistic.TStatisticProduceData entity);
    TStatistic.TStatisticProduceDataPage getProduceData(1:TQuery.TPage page,2:TQuery.TFilter filter);

    string saveOcrData(1:TStatistic.TStatisticOcrData entity);
    TStatistic.TStatisticOcrDataPage getOcrData(1:TQuery.TPage page,2:TQuery.TFilter filter);

    string saveSty2Data(1:TStatistic.TStatisticSty2Data entity);
    TStatistic.TStatisticSty2DataPage getSty2Data(1:TQuery.TPage page,2:TQuery.TFilter filter);
    list<TStatistic.TStatisticSty2PercentData> getSty2PercentData(1:TQuery.TPage page,2:TQuery.TFilter filter);
    list<string> suggestFieldData(1:TQuery.TPage page,2:TQuery.TFilter filter);

    i64 saveOcrNewData (1:TStatistic.TStatisticOcrNewData entity);
    TStatistic.TStatisticOcrNewDataPage getOcrNewData(1:TQuery.TPage page,2:TQuery.TFilter filter);
    string getOcrAvg( 1:TQuery.TFilter filter );
    string getOcrFullPercentRate( 1:TQuery.TFilter filter );

    i64 saveAutoNewData (1:TStatistic.TStatisticAutoNewData entity);
    TStatistic.TStatisticAutoNewDataPage getAutoNewData(1:TQuery.TPage page,2:TQuery.TFilter filter);
    TQuery.TResponse getAutoDateRate( 1:TQuery.TFilter filter );
 }

